<script>
  var status_message="Special Edition Using JavaScript";
  var delay_time=500;
  var start_position=100;
  var maxium_scrolls=2;

  for(var i=0;i<=start_position;i++)
  {
    status_message=" "+status_message;
  }

  var current_position=0;
  var total_scrolls=0;
  var interval_id=setInterval("scroll_message()",delay_time);

  function scroll_message()
  {
    current_position++;
    if(current_position<status_message.length)
      status=status_message.substring(current_position);
    else
    {
      current_position=0;
      total_scrolls++;
      if(total_scrolls==maxium_scrolls)
      {
	clearInterval(interval_id);
	status="";
      }
    }
  }
</script>
